
import {MockMethod} from "vite-plugin-mock"

export default[
        {
            url:"/bpi/getadvertisingSpace",
            method:"get",
            timeout:1000,
            response:({body})=>{
                return{
                    code : 200,
                    message:"ok",
                    "total|50-100":60,
                    "data|20":[
                        {
                            "code":"@natural(60, 1000)",
                            "remarks":"@string( 7, 20 )",
                            "orderNUmber":"@string( 7, 10 )",
                            "applicationWithdrawalTime":"@date(yyyy-MM-dd)",
                            "applicationForWithdrawalAmount":"@float(60, 100)",
                            "NameofAlipay":"@cname()",
                            "AlipayAccount":"@natural()",
                            "status|+1":["启用","禁用","审核中","挂起"],
                            "paymentDate":"@date(yyyy-MM-dd)",
                            "WithdrawalBalance":"@float(60, 10000)",
                            "BalanceUponReceipt":"@float(0, 10)",
                            "Serialnumber":"@guid()"
                       
                           
                        }
                    ]
                }
            }
        },
   
]as MockMethod[]